public class AreaCalculator {
	public int Area(Rectangle[] shapes)
	{
		int area = 0;
		for(int i = 0; i < shapes.length; i++)
		{
			area += shapes[i].getWidth() * shapes[i].getHeight();
		}
		return area;
	}
}
